<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcss.com/vue/2.5.17-beta.0/vue.min.js"></script>
</head>
<body>
<div id="app">
    {{array[2]}}<br/>
    {{ person.age }}
</div>
<script>
    new Vue({//javaScript：位置
        el: "#app",//vue的Id
        data: {//vue的数据   aixoe.异步请求后端的数据
            title: "hello vue!",
            array: [1,2,3,4],
            person: {"name":"老王","age":20}
        }
    });
</script>
</body>
</html>